<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>unit test angle &mdash; vecmat v1.0 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.0',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="vecmat v1.0 documentation" href="../index.html" />
    <link rel="next" title="unit test matrix" href="matrix.html" />
    <link rel="prev" title="vector" href="../vecmat/vector.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="matrix.html" title="unit test matrix"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="../vecmat/vector.html" title="vector"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">vecmat v1.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="unit-test-angle">
<h1>unit test angle<a class="headerlink" href="#unit-test-angle" title="Permalink to this headline">¶</a></h1>
<div class="section" id="module-test.unit.angleUnitTest">
<h2>All available classes/functions<a class="headerlink" href="#module-test.unit.angleUnitTest" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="test.unit.angleUnitTest.AngleUnitTest">
<em class="property">class </em><tt class="descclassname">test.unit.angleUnitTest.</tt><tt class="descname">AngleUnitTest</tt><big>(</big><em>methodName='runTest'</em><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest" title="Permalink to this definition">¶</a></dt>
<dd><p>angle module testing</p>
<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.setUp">
<tt class="descname">setUp</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.setUp" title="Permalink to this definition">¶</a></dt>
<dd>crete some basic vectors to test with</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_1">
<tt class="descname">test_add_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_1" title="Permalink to this definition">¶</a></dt>
<dd>sum 2 deg and check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_2">
<tt class="descname">test_add_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_2" title="Permalink to this definition">¶</a></dt>
<dd>sum 2 deg , check if the result is a deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_3">
<tt class="descname">test_add_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_3" title="Permalink to this definition">¶</a></dt>
<dd>sum a rad and a deg and check the result in deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_4">
<tt class="descname">test_add_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_4" title="Permalink to this definition">¶</a></dt>
<dd>sum a degree and a float and check the return type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_5">
<tt class="descname">test_add_5</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_5" title="Permalink to this definition">¶</a></dt>
<dd>sum a degree and a float and check the return type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_6">
<tt class="descname">test_add_6</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_6" title="Permalink to this definition">¶</a></dt>
<dd>sum a degree and a rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_7">
<tt class="descname">test_add_7</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_7" title="Permalink to this definition">¶</a></dt>
<dd>sum a degree and a rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_add_8">
<tt class="descname">test_add_8</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_add_8" title="Permalink to this definition">¶</a></dt>
<dd>sum a degree and a int</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_chkDegType">
<tt class="descname">test_chkDegType</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_chkDegType" title="Permalink to this definition">¶</a></dt>
<dd>check if the fist angle is a degree</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_chkRadType">
<tt class="descname">test_chkRadType</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_chkRadType" title="Permalink to this definition">¶</a></dt>
<dd>check if the fist angle is grade</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_1">
<tt class="descname">test_div_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_1" title="Permalink to this definition">¶</a></dt>
<dd>subtract degs , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_2">
<tt class="descname">test_div_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_2" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_3">
<tt class="descname">test_div_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_3" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads and float, check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_4">
<tt class="descname">test_div_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_4" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg and float , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_5">
<tt class="descname">test_div_5</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_5" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_6">
<tt class="descname">test_div_6</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_6" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_7">
<tt class="descname">test_div_7</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_7" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_div_8">
<tt class="descname">test_div_8</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_div_8" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and int , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_doubleDeg">
<tt class="descname">test_doubleDeg</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_doubleDeg" title="Permalink to this definition">¶</a></dt>
<dd>rad to rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_doubleRad">
<tt class="descname">test_doubleRad</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_doubleRad" title="Permalink to this definition">¶</a></dt>
<dd>deg to deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_eq_1">
<tt class="descname">test_eq_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_eq_1" title="Permalink to this definition">¶</a></dt>
<dd>compare 2 deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_eq_2">
<tt class="descname">test_eq_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_eq_2" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_eq_3">
<tt class="descname">test_eq_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_eq_3" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a float</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_eq_4">
<tt class="descname">test_eq_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_eq_4" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a int</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_1">
<tt class="descname">test_mul_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_1" title="Permalink to this definition">¶</a></dt>
<dd>subtract degs , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_2">
<tt class="descname">test_mul_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_2" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_3">
<tt class="descname">test_mul_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_3" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads and float, check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_4">
<tt class="descname">test_mul_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_4" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg and float , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_5">
<tt class="descname">test_mul_5</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_5" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_6">
<tt class="descname">test_mul_6</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_6" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_7">
<tt class="descname">test_mul_7</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_7" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_mul_8">
<tt class="descname">test_mul_8</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_mul_8" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and int , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_ne_1">
<tt class="descname">test_ne_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_ne_1" title="Permalink to this definition">¶</a></dt>
<dd>compare 2 deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_ne_2">
<tt class="descname">test_ne_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_ne_2" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_ne_3">
<tt class="descname">test_ne_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_ne_3" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a float</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_ne_4">
<tt class="descname">test_ne_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_ne_4" title="Permalink to this definition">¶</a></dt>
<dd>compare a deg and a int</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_1">
<tt class="descname">test_sub_1</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_1" title="Permalink to this definition">¶</a></dt>
<dd>subtract degs , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_2">
<tt class="descname">test_sub_2</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_2" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_3">
<tt class="descname">test_sub_3</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_3" title="Permalink to this definition">¶</a></dt>
<dd>subtract rads and float, check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_4">
<tt class="descname">test_sub_4</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_4" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg and float , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_5">
<tt class="descname">test_sub_5</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_5" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_6">
<tt class="descname">test_sub_6</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_6" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_7">
<tt class="descname">test_sub_7</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_7" title="Permalink to this definition">¶</a></dt>
<dd>subtract rad and deg , check the result</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_sub_8">
<tt class="descname">test_sub_8</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_sub_8" title="Permalink to this definition">¶</a></dt>
<dd>subtract deg and float , check the result type</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_toDeg">
<tt class="descname">test_toDeg</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_toDeg" title="Permalink to this definition">¶</a></dt>
<dd>rad to deg</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_toDegAndBack">
<tt class="descname">test_toDegAndBack</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_toDegAndBack" title="Permalink to this definition">¶</a></dt>
<dd>rad to deg to rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_toRad">
<tt class="descname">test_toRad</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_toRad" title="Permalink to this definition">¶</a></dt>
<dd>deg to rad</dd></dl>

<dl class="method">
<dt id="test.unit.angleUnitTest.AngleUnitTest.test_toRadAndBack">
<tt class="descname">test_toRadAndBack</tt><big>(</big><big>)</big><a class="headerlink" href="#test.unit.angleUnitTest.AngleUnitTest.test_toRadAndBack" title="Permalink to this definition">¶</a></dt>
<dd>deg to rad to deg</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="../index.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference external" href="#">unit test angle</a><ul>
<li><a class="reference external" href="#module-test.unit.angleUnitTest">All available classes/functions</a></li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="../vecmat/vector.html"
                                  title="previous chapter">vector</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="matrix.html"
                                  title="next chapter">unit test matrix</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="../_sources/unit-test/angle.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="../search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="matrix.html" title="unit test matrix"
             >next</a> |</li>
        <li class="right" >
          <a href="../vecmat/vector.html" title="vector"
             >previous</a> |</li>
        <li><a href="../index.html">vecmat v1.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2010, Lorenzo Angeli.
      Last updated on Jun 15, 2010.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.6.
    </div>
  </body>
</html>